package es.udc.pfc.davidparedes.model.shift;

import es.udc.pfc.davidparedes.model.dao.GenericDao;

import java.util.Calendar;
import java.util.List;

public interface ShiftDao extends GenericDao<Shift, Long> {
	
	public List<Shift> findShiftsByDate(Long userProfileId, Calendar startDate, Calendar endDate);

	public List<Shift> findUniverseShiftsByDate(Long universeId, Calendar startDate, Calendar endDate);

	public List<Shift> findUniverseShiftsAtMoment(Long universeId, Calendar moment);
	
	public List<Shift> findStoreShiftsByDate(Long storeId, Calendar startDate, Calendar endDate);
	
	public Long getTotalShiftsDuration(Long userProfileId, Calendar startDate, Calendar endDate);
	
}